class LoadingUI extends eui.Component implements RES.PromiseTaskReporter {
    private Point:eui.Label
    public constructor() {
        super();
        this.addEventListener(eui.UIEvent.COMPLETE, this.initUi, this)
        this.skinName ="resource/exml/load.exml"
    }

    public initUi() {
        Sk_config.autoScreen(this)
    }

    public onProgress(current: number, total: number): void {
        this.Point.text = `......${Math.floor(current / total * 100)}%`
        // console.log(Math.floor(current / total).toFixed(2))
    }
}
